package com.yesjava.springbootjpa.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PageController {

    @RequestMapping("/listgoods")
    public String toGoodsList(){
        return "/goods/goods-list";
    }

    @RequestMapping("/main")
    public String toMain(){
        return "/main";
    }
}
